package cn.fbs.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author 赵晓宇
 * @date 2021-01-19
 */
@ApiModel("目标实体")
public class TCodeTargetType {
    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "目标Id",example = "1")
    private Integer id;

    /**
     * 目标名称
     */
    @ApiModelProperty(name = "targetName", value = "目标名称")
    private String targetName;

    /**
     * 父节点id
     */
    @ApiModelProperty(name = "parentId", value = "父节点id",example = "1")
    private Integer parentId;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createDate", value = "创建时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateDate;
    @ApiModelProperty(name = "is_inherent",value = "是否固有目标 1是 0否",example = "0")
    private Integer is_inherent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getIs_inherent() {
        return is_inherent;
    }

    public void setIs_inherent(Integer is_inherent) {
        this.is_inherent = is_inherent;
    }
}